package com.tbit.uqbike.webmanager.dao.core;

import com.tbit.uqbike.object.pojo.OutAge;
import com.tbit.common.entity.pojo.dto.OutAgeDTO;
import org.apache.ibatis.annotations.Param;

/**
 * @author <a href="mailto:liu.haoxiang@tbit.com.cn">BUGXiang</a>
 * @version 1.0
 * @since 2025-1-22
 */
public interface OutAgeDao {

    /**
     *
     * 查询一键停运消息
     * @param dto dto
     * @return OutAge
     */
    OutAge queryOutAge(OutAgeDTO dto);

    /**
     * 新增一键停运消息
     * @param outAge outAge
     */
    void insert(OutAge outAge);

    /**
     * 编辑一键停运消息
     * @param outAge outAge
     */
    void edit(OutAge outAge);

    /**
     * 删除停运配置
     * @param brandId 品牌id
     * @param accountId 账号id
     */
    void deleteByAccountId(@Param("brandId")Integer brandId, @Param("accountId")Integer accountId);
}
